<?php

class StepController extends CController
{
    public function actions()
    {
        return array(
            'setImage'=>'application.controllers.step.SetImageAction',
            'deleteImage'=>'application.controllers.step.DeleteImageAction',
            'setMemo'=>'application.controllers.step.SetMemoAction',
        );
    }

    public function filters()
    {
        return array(
            'accessControl',
        );
    }

    public function accessRules()
    {
        return array(
            array('allow',
                'actions'=>array(),
                'users'=>array('*'),
            ),
            array('allow',
                'actions'=>array('setImage','deleteImage','setMemo'),
                'users'=>array('@'),
            ),
            array('deny',
                'users'=>array('*'),
            ),
        );
    }
}